package com.ldp.designpatterns.review.create.factory.methodfactory;

import com.ldp.designpatterns.review.create.factory.methodfactory.factory.ChessFactory;
import com.ldp.designpatterns.review.create.factory.methodfactory.factory.PepperFactory;
import com.ldp.designpatterns.review.create.factory.methodfactory.service.ChessPizza;
import com.ldp.designpatterns.review.create.factory.methodfactory.service.PepperPizza;
import com.ldp.designpatterns.review.create.factory.methodfactory.service.Pizza;
import com.ldp.designpatterns.review.create.factory.simplefactory.factory.PizzaFactory;
import com.ldp.designpatterns.study.factory.methodFactory.factory.CoffeeFactory;

/**
 * @ClassName MethodFactoryTest
 * @Description TODO
 * @Author lindipei
 * @Date 2023/10/20 11:06
 */
public class MethodFactoryTest {

    private PizzaFactory pizzaFactory;

    public static void main(String[] args) {
        Pizza chessPizza = new ChessFactory().createPiza();
        chessPizza.getPizza();

        Pizza pepperPizza = new PepperFactory().createPiza();
        pepperPizza.getPizza();
    }
}
